package com.gxa.saas.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
@AllArgsConstructor
@ApiModel
public class OrderDetail {

    @ApiModelProperty(name = "id",value = "编号",dataType = "int",required = false,hidden = true)
    private Integer id;
    @ApiModelProperty(name = "product",value = "商品名称",dataType = "string",required = true)
    private String product;
    @ApiModelProperty(name = "maxunitprice",value = "大单价",dataType = "string",required = true)
    private Double maxunitprice;
    @ApiModelProperty(name = "maxnumber",value = "数量",dataType = "string",required = true)
    private Integer maxnumber;
    @ApiModelProperty(name = "minunitprice",value = "小单位",dataType = "string",required = true)
    private Double minunitprice;
    @ApiModelProperty(name = "minnumber",value = "数量",dataType = "string",required = true)
    private Integer minnumber;
    @ApiModelProperty(name = "producttype",value = "商品类型",dataType = "string",required = true)
    private String producttype;
    @ApiModelProperty(name = "price",value = "金额",dataType = "string",required = true)
    private Double price;
    @ApiModelProperty(name = "state",value = "订单状态（退货0/1普通）",dataType = "string",required = true)
    private Boolean state;
}
